<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../mycss/wf_css/wf_xiadan.css">
    <title>Document</title>
</head>
<body>
    <!-- 头div -->
    <div class="head">
        <div class="head1">
            <div class="zuo">社区商城</div>
            <div class="zhong">
                <input type="text" placeholder="请输入搜索内容">
                <img src="../../img/wf/search.png" alt="">
            </div>
            <div class="you">
                <ul>
                    <li><a href="#">外卖</a></li>
                    <li>
                        <a href="#" class="yincang">我的订单
                            <div class="">
                                <ul class="yincang1">
                                    <li>个人中心</li>
                                    <li>我的收藏</li>
                                    <li>我的地址</li>
                                    <li>安全设置</li>
                                    <li>退出登录</li>
                                </ul>
                            </div>
                        </a>

                    </li>
                    <li class="yincang0">联系我们
                    </li>
                </ul>
            </div>
            <div class="youu">
                <a href="#">登录</a>
                <a href="#">注册</a>
            </div>
        </div>
        <!-- 大的div -->
        <div class="content">
            
        </div>
        
    </div>
</body>
<script>
    var a=document.querySelector("a.yincang");
    var b=document.querySelector("a.yincang>div.yincang1");
    a.onmouseover=function(){
//        b.className=""
        b.style.name=""
    }
</script>
</html>